Skip to content

[CharInv] Migrate from deprecations#3885

Merged
imnasnainaec merged 6 commits intomasterfrom
undepr-char-inv
Aug 12, 2025
Merged

[CharInv] Migrate from deprecations#3885
imnasnainaec merged 6 commits intomasterfrom
undepr-char-inv

Conversation

@imnasnainaec
Copy link
Collaborator

@imnasnainaec imnasnainaec commented Jun 18, 2025

Parts of #3180, #3879

Notes for review:

  • In most places, replaced <Grid> with <Grid2>, <Stack>, <div>, or nothing, as fit the design need.
  • Moved Save and Cancel buttons from bottom of CharInv into child component CharacterEntry at top

Notes for testing:

  • Do a side-by-side visual comparison between this and master (on QA) to make sure appearance is (roughly) the same or (subjectively) improved on all edited components
  • Try each edited component with various window widths > 350px (we don't support narrower than that)
  • To test CharInvCompleted, go to Data Cleanup > Create Character Inventory, click on any character tile with multiple occurrences, do a Find & Replace, then doing so with another character, then change the status on several character, then click Save, then back in Data Cleanup click on the newest tile under "You've completed:"
  • Test with a few different UI languages

Currently on QA, you have to scroll to the bottom to see the Save/Cancel buttons:
Screenshot 2025-08-07 155051
Screenshot 2025-08-07 155102
Screenshot 2025-08-07 155140


This pr moves the Save/Cancel buttons up next to the "Advanced" option:
Screenshot 2025-08-07 155308
Screenshot 2025-08-07 155321


This change is Reviewable

@imnasnainaec imnasnainaec self-assigned this Jun 18, 2025
@imnasnainaec imnasnainaec added enhancement New feature or request frontend test maintenance Issue that makes it difficult to maintain the software or to upgrade installations post-release. goal: CharacterInventory labels Jun 18, 2025
@codecov
Copy link

codecov bot commented Jun 18, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.11%. Comparing base (b518748) to head (6ea8e21).
⚠️ Report is 18 commits behind head on master.

Files with missing lines Patch % Lines
...oals/CharacterInventory/CharInv/CharacterEntry.tsx 77.77% 4 Missing ⚠️
...CharacterInventory/CharInv/CharacterList/index.tsx 50.00% 2 Missing ⚠️
src/goals/CharacterInventory/CharInv/index.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3885      +/-   ##
==========================================
- Coverage   74.12%   74.11%   -0.02%     
==========================================
  Files         288      288              
  Lines       10620    10615       -5     
  Branches     1327     1327              
==========================================
- Hits         7872     7867       -5     
  Misses       2362     2362              
  Partials      386      386              
Flag Coverage Δ
backend 85.43% <ø> (ø)
frontend 65.50% <75.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 7 of 8 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @imnasnainaec)

@imnasnainaec imnasnainaec merged commit 0925a79 into master Aug 12, 2025
19 checks passed
@imnasnainaec imnasnainaec deleted the undepr-char-inv branch August 12, 2025 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend goal: CharacterInventory maintenance Issue that makes it difficult to maintain the software or to upgrade installations post-release. test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants